home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1993 November
/
JCSM Shareware Collection - 1993-11.iso
/
cl720
/
sst115j.lzh
/
VDEMO.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-08-01
|
694b
|
26 lines
/* ------------------------------------------------------------------------ */
/* demo of low level video stuff */
/* ------------------------------------------------------------------------ */
#include <stdio.h>
#include <dos.h>
#include <conio.h>
#include <stdlib.h>
#include "sstvid.h"
#include "sstwin.h"
void main(void)
{
if (vpushscreen() != 0) {
printf("Not enought memory to save screen. \n");
exit(-1);
}
vfill(0,0,25,80,176,26);
vputfc(2,CLR(GREEN,BLUE,DIM),"The entire screen was just filled");
vputfc(24,CLR(GREEN,YELLOW,DIM),"Press any key to restore screen");
kgetch();
vpopscreen();
}